:root {
    --text-1: #333;
    --text-2: #575757;
    --text-3: #999;

    --color-primary: #4A9CE7;
    --color-success: #54D8A4;
    --color-warning: #FFA722;
    --color-error: #EC5951;
    --color-info: #999999;
}

* {
    padding: 0;
    margin: 0;
}

::-webkit-scrollbar {
    width: 8px;
}

/*定义滚动条轨道*/
::-webkit-scrollbar-track {
    background-color: rgb(243, 243, 243);
}

/*定义滑块*/
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    /*-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .2);*/
    background-color: rgba(200, 200, 200);
}

/* 标题样式 */
.ex-title {
    margin: 55px 0 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ex-title .ex-title-text {
    font-size: 22px;
    color: var(--text-1);
    font-weight: bold;
}

/* 弃用 */
.ex-title.deprecated .ex-title-text {
    text-decoration: line-through;
}

.ex-title .deprecated-box {
    display: flex;
    align-items: baseline;
    gap: 2px;
    padding: 4px 9px;
    background-color: var(--color-warning);
    border-radius: 5px;
    color: #fff;
    font-weight: bolder;
    font-size: 14px;
    margin-right: 12px;
}

.ex-title .deprecated-box .desc {
    font-size: 8px;
    font-weight: normal;
}

.ex-tag {
    display: inline-block;
    padding: 2px 12px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    border-width: 1px;
    border-style: solid;
    border-color: var(--color-primary);
}

.ex-tag.tag-success {
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.ex-tag.tag-warning {
    background-color: var(--color-warning);
    border-color: var(--color-warning);
}

.ex-tag.tag-plain.tag-success {
    color: var(--color-success);
}

.ex-tag.tag-plain.tag-warning {
    color: var(--color-warning);
}

.ex-tag.tag-mini {
    padding: 2px 6px;
    font-size: 12px;
}

.ex-tag.tag-plain {
    background-color: transparent;
    color: var(--color-primary);
}

/* 提示块 */
.ex-tip {
    padding: 12px 16px;
    background-color: #ecf8ff;
    border-radius: 4px;
    border-left: 5px solid var(--color-primary);
    margin: 20px 0;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5em;
}

.ex-tip.primary {
    border-left-color: var(--color-primary);
}

.ex-tip.success {
    border-left-color: var(--color-success);
    background-color: #edf5f1;
}

.ex-tip.warning {
    border-left-color: var(--color-warning);
    background-color: #f5eeeb;
}

.ex-tip.error {
    border-left-color: var(--color-error);
    background-color: #f5eded;
}

.ex-tip.info {
    border-left-color: var(--color-info);
    background-color: #ececec;
}
